﻿<?xml version="1.0" encoding="utf-8"?>
<html xmlns='http://www.w3.org/1999/xhtml'>
<div xml:base="div/">
<p xml:base="ё">Test how xml:base value is parsed (<a href="https://bugs.webkit.org/show_bug.cgi?id=28858">bug 28858</a>). Passed if no assertion failure.</p>
<p id="result"></p>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
else
    document.getElementById("result").innerHTML = "Result: " + document.getElementsByTagName("a")[0].baseURI;
</script>
</div>
</html>
